﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PMS.ENT
{
    public class ScheduleENT
    {
        public static string _Table = "Schedules";

        public int ScheduleID { get; set; }
        public int ProjectID { get; set; }
        public int OwnerID { get; set; }
        public int SemesterID { get; set; }
        public string ScheduleName { get; set; }
        public string Description { get; set; }
        public string Status { get; set; }
        public int CreatedBy { get; set; }
        public DateTime CreatedDate { get; set; }
        public int UpdateBy { get; set; }
        public DateTime UpdateDate { get; set; }
        public int Isdeleted { get; set; }

        public ScheduleItemCollection ListScheduleItem { get; set; }
        public string ProjectName { get; set; }
        public string Owner { get; set; }
        public DateTime StartDate { get; set; }
        public DateTime EndDate { get; set; }
        public int Groups { get; set; }
        public string SemesterName { get; set; } 
        public ScheduleENT()
        {

        }
    }

    public enum ScheduleColumns
    {
        ScheduleID,
        ProjectID,
        OwnerID,
        Owner,
        SemesterID,
        SemesterName,
        ScheduleName,
        Description,
        Status,
        CreatedBy,
        CreatedDate,
        UpdateBy,
        UpdateDate,
        Isdeleted,
        ProjectName,
        StartDate,
        EndDate,
        Groups,
    }

    public class ScheduleCollection : List<ScheduleENT>
    {
        public ScheduleCollection()
            : base()
        { }

        public ScheduleCollection(IEnumerable<ScheduleENT> collection)
            : base(collection)
        { }
    }
}
